package com.dongdongshop.front.service;

import com.dongdongshop.front.pojo.TbUser;

import java.util.List;

public interface UserService {

    TbUser getUserByName(String name);

    void addUser(TbUser tbUser);

    List<TbUser> getAll();

    void resetPwd(Long userId, String mail);

    void sendVerify(String phone) throws Exception;

    TbUser checkPhoneNum(String telphone);
}
